Skip to content

Conversation

@anutosh491
Copy link
Member

No description provided.

@llvmbot llvmbot added clang Clang issues not falling into any other category clang:frontend Language frontend issues, e.g. anything involving "Sema" labels Nov 12, 2024
@anutosh491 anutosh491 marked this pull request as draft November 12, 2024 10:09
@llvmbot
Copy link
Member

llvmbot commented Nov 12, 2024

@llvm/pr-subscribers-clang

Author: Anutosh Bhat (anutosh491)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/115846.diff

1 Files Affected:

  • (modified) clang/lib/Interpreter/CMakeLists.txt (+2)
diff --git a/clang/lib/Interpreter/CMakeLists.txt b/clang/lib/Interpreter/CMakeLists.txt
index 6a069659ebb8db..0a2d60757c216d 100644
--- a/clang/lib/Interpreter/CMakeLists.txt
+++ b/clang/lib/Interpreter/CMakeLists.txt
@@ -14,6 +14,7 @@ set(LLVM_LINK_COMPONENTS
 
 if (EMSCRIPTEN AND "lld" IN_LIST LLVM_ENABLE_PROJECTS)
   set(WASM_SRC Wasm.cpp)
+  set(WASM_LINK lldWasm)
 endif()
 
 add_clang_library(clangInterpreter
@@ -43,6 +44,7 @@ add_clang_library(clangInterpreter
   clangParse
   clangSema
   clangSerialization
+  ${WASM_LINK}
   )
 
 if ((MINGW OR CYGWIN) AND BUILD_SHARED_LIBS)

@anutosh491 anutosh491 changed the title Fix undefined lld::wasm::link symbol while building clangInterpreter for wasm [clang-repl] Fix undefined lld::wasm::link symbol while building clangInterpreter for wasm Nov 12, 2024
@anutosh491 anutosh491 marked this pull request as ready for review November 12, 2024 10:15
@anutosh491 anutosh491 marked this pull request as draft November 12, 2024 10:20
@anutosh491
Copy link
Member Author

Closing as duplicate of #115848

@anutosh491 anutosh491 closed this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang:frontend Language frontend issues, e.g. anything involving "Sema" clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants